#!/usr/bin/bash
echo "Installing certs..."
ln -sf /data/dockers/apache2/certs/etc/ssl/certs/eu.bmstu.ru.pem /etc/ssl/certs/eu.bmstu.ru.pem
ln -sf /data/dockers/apache2/certs/etc/ssl/certs/GlobalSign.AlphaSSL.pem /etc/ssl/certs/GlobalSign.AlphaSSL.pem
ln -sf /data/dockers/apache2/certs/etc/ssl/certs/globalsign.com.pem /etc/ssl/certs/globalsign.com.pem
ln -sf /data/dockers/apache2/certs/etc/ssl/private/p.key /etc/ssl/private/p.key

echo "Enabling proxy..."
ln -sf /data/dockers/apache2/etc/apache2/sites-available/proxy.conf /etc/apache2/sites-enabled/proxy.conf